#include <iostream>
#include <unistd.h>
#include <sys/types.h>

using namespace std;

int main()
{
    int rpid=0;
    rpid=fork();
    if(rpid==0)
    {
        while(1)
        {
            write(1,"I am child process,pid",23);
            write(1,"I am child process,pid",23);
            write(1,"I am child process,pid",23);
            write(1,"I am child process,pid\n",24);
            
            sleep(1);
        }
    }
    while(1)
    {
        write(1,"!!!!!!\n",8);
        sleep(1);
    }
    return 0;
}